Skip to content

Conversation

@usiems
Copy link
Contributor

@usiems usiems commented May 23, 2025

Values in the range of 0x7FFFFFFFFFFFFFFF to 0xFFFFFFFFFFFFFFFF caused an OverflowError when converted to quint64.

How to reproduce:

from PythonQt.QtGui import QPalette
p = QPalette()
# QPalette.setResolveMask takes a quint64 argument, so this should work:
p.setResolveMask(0x8FFFFFFFFFFFFFFF)

Values in the range of 0x7FFFFFFFFFFFFFFF to 0xFFFFFFFFFFFFFFFF caused
an OverflowError when converted to quint64
@usiems usiems force-pushed the fix_quint64_conversion branch from f5c30de to e2874d1 Compare May 28, 2025 11:36
@usiems usiems merged commit efb3f7c into master May 28, 2025
19 checks passed
@usiems usiems deleted the fix_quint64_conversion branch May 28, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants